Auto merge of #1702 - alexcrichton:fix-traverse-build-deps, r=brson
authorbors <bors@rust-lang.org>
Wed, 10 Jun 2015 17:28:45 +0000 (17:28 +0000)
committerbors <bors@rust-lang.org>
Wed, 10 Jun 2015 17:28:45 +0000 (17:28 +0000)
commit2ac8a86e9e5000a30e444c51b6a842175a5bb874
treecca8e7763cd9ce838bcad9616646aeeb494dc97e
parent1ae683a1496be2e35f213e3e11645adcb3ed62b1
parente6d394a2d74c1d42b3a7ea3a783c219c4710cd25
Auto merge of #1702 - alexcrichton:fix-traverse-build-deps, r=brson

It looks like the recent restructuring into an O(N) pass had a regression
(reported in #1695) where deps-of-deps didn't have their build script arguments
propagated upwards. This fixes the caching logic to take into account the
profile as part of the key to ensure that we traverse targets twice if
necessary.

Closes #1695